package com.test.interviewtest.service.impl;

import com.test.interviewtest.domain.User;
import com.test.interviewtest.service.UserService;
import org.springframework.stereotype.Service;
/**
 * 此类不允许删除，只允许添加新的代码，类中所有方法不允许使用
 */
@Service
public class OtherServiceImpl implements UserService {

    @Override
    public boolean insert(User user) {
        throw new RuntimeException("此方法不允许使用!");
    }
}
